package com.shenyong.ladmin.service;

import com.shenyong.entity.Menu;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author
 * @site
 * @company
 * @create
 */
public interface MenuService {
    public List<com.shenyong.ladmin.entity.Menu> getTreeTable();
    public List<Map<String, Object>> getTree(Integer user_id);

    public int saveTreeTable(com.shenyong.ladmin.entity.Menu menu);

    public List<com.shenyong.ladmin.entity.Menu> selectMenuPid(int id);
    public int deleteTreeTable(int id);

    public int updateTreeTable(com.shenyong.ladmin.entity.Menu menu);
    public Object menuload(Integer id);
}
